package cn.ecnu.common;

public class RedisConstant {
    public static final String USER_TOKEN = "ww:token:user:"; // user --> token
    public static final String SMS_PREFIX = "ww:thirdparty:sms:"; // 短信验证码
    public static final String TOKEN_USER = "ww:user:token:"; // token --> user
    public static final String HOT_UNIQUE = "ww:hot:paper:";
    public static final String HOT_RANK = "ww:hot:rank";
    public static final String PAPER_FIELD_CACHE = "ww:field:cache";
    public static final String PAPER_UID_PN = "ww:user:pn:";
    public static final String PAPER_CPL_ID_CACHE = "ww:complete:";
    public static final String PAPER_AUTHOR_PN_CACHE = "ww:author:pn:";
    public static final String PAPER_FIELD_PN_CACHE = "ww:field:pn:";
    public static final String PAPER_HOT_CACHE = "ww:hot:cache";
    public static final String PAPER_ALL_CACHE = "ww:all:cache:";
}
